package com.qike.duola.mapper;

import com.qike.duola.domain.DuolaContract;
import com.qike.duola.domain.DuolaContractExample;
import com.qike.duola.domain.DuolaContractWithBLOBs;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface DuolaContractMapper {
    long countByExample(DuolaContractExample example);

    int deleteByExample(DuolaContractExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(DuolaContractWithBLOBs record);

    int insertSelective(DuolaContractWithBLOBs record);

    List<DuolaContractWithBLOBs> selectByExampleWithBLOBs(DuolaContractExample example);

    List<DuolaContract> selectByExample(DuolaContractExample example);

    DuolaContractWithBLOBs selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("record") DuolaContractWithBLOBs record, @Param("example") DuolaContractExample example);

    int updateByExampleWithBLOBs(@Param("record") DuolaContractWithBLOBs record, @Param("example") DuolaContractExample example);

    int updateByExample(@Param("record") DuolaContract record, @Param("example") DuolaContractExample example);

    int updateByPrimaryKeySelective(DuolaContractWithBLOBs record);

    int updateByPrimaryKeyWithBLOBs(DuolaContractWithBLOBs record);

    int updateByPrimaryKey(DuolaContract record);
}